<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<?php
	if($_POST)
	{
		include 'config.php';
		$phones = explode("\n",$_POST['phone']);
		foreach($phones as $value)
		{
			mysql_query('insert into mobile_phone values(null,"'.$value.'")');
		}
		header('Location:./import.php');
	}	
?>
<form action="" method="post">
	<textarea name="phone"></textarea><br>
	<input type="submit" value="提交">
</form>